package com.letoy.study.service;

import com.letoy.study.entity.PreRegisterUser;
import com.letoy.study.entity.User;

import java.util.HashMap;
import java.util.Map;

public interface UserService {
    User getUserByEmail(String email);
    User getUserByUserId(String userId);
    User getUserByEmailPassword(String email, String password);
    String getUserIdByEmailPassword(String email, String password);
    String preRegisterUser(PreRegisterUser preRegisterUser);
    HashMap<String,Object> activeUser(String email, String activeCode);
    String initUser(User user);
}
